import request from '@/utils/request'

export function fetch(query) {
  return request({
    url: '/pay/wx/conf/get',
    method: 'get',
    params: query
  })
}

export function set(query) {
  return request({
    url: '/pay/wx/conf/set',
    method: 'post',
    params: query
  })
}

export function gainPlatformCerts(query) {
  return request({
    url: '/pay/wx/conf/gainPlatformCerts',
    method: 'get',
    params: query
  })
}
